package cn.lili.modules.store.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * 店铺修改DTO
 *
 * @author pikachu
 * @since 2020-08-22 15:10:51
 */
@Data
public class StoreOwnerEditDTO {


    @Size(min = 2, max = 20, message = "Store name length is 2-20 characters")
    @ApiModelProperty(value = "店铺名称")
    private String storeName;

    @ApiModelProperty(value = "店铺logo")
    private String storeLogo = "https://feiyu-lshop-test.oss-cn-beijing.aliyuncs.com/default.png";

    @Size(min = 6, max = 200, message = "店铺简介需在6-200字符之间")
    @ApiModelProperty(value = "店铺简介")
    private String storeDesc;

    @ApiModelProperty(value = "经纬度")
    private String storeCenter;

    @ApiModelProperty(value = "库存预警数量")
    private Integer stockWarning;

    @ApiModelProperty(value = "开启楼层装修")
    private Boolean enableDecoration = false;

    @ApiModelProperty(value = "开启自提")
    private Boolean enablePickup = false;


}
